package com.mfangsoft.zhuangjialong.integration.activity.model;

import java.io.Serializable;

/**
 *   活动内容选项表
 * table t_biz_activity_item
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseActivityItem implements Serializable {
    /**
     *   id
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;

    /**
     *   活动卡name
     * column name
     *
     * @MLTH_generated
     */
    private String name;

    /**
     *   是否必选
     * column isdefault
     *
     * @MLTH_generated
     */
    private Integer isdefault;

    /**
     *   顺序
     * column sort
     *
     * @MLTH_generated
     */
    private Integer sort;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_activity_item
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     *   id
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *   活动卡name
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     *   活动卡name
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     *   是否必选
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getIsdefault() {
        return isdefault;
    }

    /**
     *   是否必选
     * @param isdefault the value for 
     *
     * @MLTH_generated
     */
    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

    /**
     *   顺序
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getSort() {
        return sort;
    }

    /**
     *   顺序
     * @param sort the value for 
     *
     * @MLTH_generated
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", isdefault=").append(isdefault);
        sb.append(", sort=").append(sort);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}